package com.feel.mall.adminservice.mapper;

import com.feel.mall.common.bean.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: 刘永钦
 * @Description:
 */
@Mapper
public interface AdminMapper {
//    根据用户名查询
    Admin selectByUsername(String username);

    Admin selectById(Integer id);

    void updateInfo(Admin admin);

    List<Admin> selectAll();

    int addInfo(Admin admin);
}
